namespace B.S.ProcessEgine.API.Dtos.ResponseDto
{
    public class FormNodeInputDto
    {
        /// <summary>
        /// 节点ID
        /// </summary>
        public int NodeId { get; set; }
        /// <summary>
        /// 节点编号
        /// </summary>
        public string NodeNo { get; set; } = string.Empty;

        /// <summary>
        /// 节点名称
        /// </summary>
        public string NodeName { get; set; } = string.Empty;

        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; } = string.Empty;

        /// <summary>
        /// 上级节点编号
        /// </summary>
        public string PrevNodeNo { get; set; } = string.Empty;

        /// <summary>
        /// 下级节点编号
        /// </summary>
        public string NextNodeNo { get; set; } = string.Empty;

        // FormId 将从 SaveFormNodesCommand 中获取，不在单个 DTO 中重复
        // IsDel 默认为 false，在创建时处理
        // NodeId 将由数据库生成
    }
}